<script setup lang="jsx">
const userInfoStore = useUserInfo()
defineRender(() => {
  return (
    <div>

      <div>
        <button
          onClick={() => {
            userInfoStore.setUserInfo({ name: '小郭', })
          }}
        >设置用户信息
        </button>
      </div>
      <div>
        <button
          onClick={() => {
            userInfoStore.setCount()
          }}
        >
        计数
        </button>
      </div>
    </div>
  )
})
</script>
